package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.HybrankMapper;
import com.stylefeng.guns.modular.system.model.Hybrank;
import com.stylefeng.guns.modular.system.service.IHybrankService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-05-31
 */
@Service
public class HybrankServiceImpl extends ServiceImpl<HybrankMapper, Hybrank> implements IHybrankService {

	@Autowired
	private HybrankMapper hybrankMapper;
	
	@Override
	public List<Map<String, Object>> selectMapsByDate(Page<Hybrank> page,
			String date,String name) {
		return hybrankMapper.selectMapsByDate(page,date,name);
	}

	@Override
	public Hybrank selectByDate(Hybrank hybrank) {
		return hybrankMapper.selectByDate(hybrank);
	}

}
